package com.xiaocg.builder;

public class BuilderTest {
    public static void main(String[] args) {
        PcBuilder pcBuilder = new HpComputerBuilder();
        PcDirector director = new PcDirector(pcBuilder);
        Computer computer = director.getComputer();
        System.out.println(computer);
    }
}
